/**
 * Copyright ToFBA Ecommerce Logistics LTD. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 * No body can copy or modify any part of this source without the permission of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 *   _________    ___   ________  ______        _       
 *  |  _   _  | .'   `.|_   __  ||_   _ \      / \      
 *  |_/ | | \_|/  .-.  \ | |_ \_|  | |_) |    / _ \     
 *      | |    | |   | | |  _|     |  __'.   / ___ \    
 *     _| |_   \  `-'  /_| |_     _| |__) |_/ /   \ \_  
 *    |_____|   `.___.'|_____|   |_______/|____| |____|
 *                                                
 */
package com.lmexpress.orm.dhlglobalmail;

import java.io.Serializable;
import java.util.List;

/**
 * DHL包裹信息
 * 
 * @author Henry(fba02)
 * @version [版本号, 2019年4月1日]
 * @see https://api-qa.dhlecommerce.com/apidoc/appendix-label.html#response-elements
 * @since [产品/模块版本]
 */
@SuppressWarnings("serial")
public class Package implements Serializable {
    private ConsigneeAddress consigneeAddress;
    private PackageDetails packageDetails;
    private ReturnAddress returnAddress;
    private List<CustomsDetail> customsDetails;
    
    public ConsigneeAddress getConsigneeAddress() {
        return consigneeAddress;
    }
    
    public void setConsigneeAddress(ConsigneeAddress consigneeAddress) {
        this.consigneeAddress = consigneeAddress;
    }
    
    public PackageDetails getPackageDetails() {
        return packageDetails;
    }
    
    public void setPackageDetails(PackageDetails packageDetails) {
        this.packageDetails = packageDetails;
    }
    
    public ReturnAddress getReturnAddress() {
        return returnAddress;
    }
    
    public void setReturnAddress(ReturnAddress returnAddress) {
        this.returnAddress = returnAddress;
    }
    
    public List<CustomsDetail> getCustomsDetails() {
        return customsDetails;
    }
    
    public void setCustomsDetails(List<CustomsDetail> customsDetails) {
        this.customsDetails = customsDetails;
    }
    
    public Package() {
        super();
    }
    
    public Package(ConsigneeAddress consigneeAddress, PackageDetails packageDetails, ReturnAddress returnAddress, List<CustomsDetail> customsDetails) {
        super();
        this.consigneeAddress = consigneeAddress;
        this.packageDetails = packageDetails;
        this.returnAddress = returnAddress;
        this.customsDetails = customsDetails;
    }

    @Override
    public String toString() {
        return "Package [consigneeAddress=" + consigneeAddress + ", packageDetails=" + packageDetails + ", returnAddress=" + returnAddress + ", customsDetails=" + customsDetails + "]";
    }
}